package com.house.model.entity;

import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.io.Serializable;
import java.util.Date;

@Data
@AllArgsConstructor
@NoArgsConstructor
@Builder
@TableName("collect")
public class Collect implements Serializable {
    @TableId("collect_id")
    private String collectId;
    private String userId;
    private String houseId;
    private Date createDate;
    private String createPerson;
    @TableField(exist = false)
    private String houseName;
    @TableField(exist = false)
    private String userName;

}
